# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit mono

DESCRIPTION="educational software for practising words"
HOMEPAGE="http://www.wordtrainer.net/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

RDEPEND=">=dev-lang/mono-1.2.4
	>=dev-dotnet/gtk-sharp-2.10.0
	>=dev-dotnet/gnome-sharp-2.16.0
	>=dev-dotnet/glade-sharp-2.10.0"
DEPEND="${RDEPEND}"


src_compile() {
	econf || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "install failed"
	dodoc README CHANGES
}

